﻿using AduSkin.Demo.Models;
using GrabFieldr.ViewModels;
using GrabFieldr.Models.Impls;
using GrabFieldr.Models.Interface;
using Prism.Ioc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using GrabFieldr.Models.Impls.Tools;
using Prism.Mvvm;
using Prism.Ioc;

namespace GrabFieldr.Views
{
   /// <summary>
   /// PracticalCase.xaml 的交互逻辑
   /// </summary>
   public partial class PracticalCase : UserControl
   {
      //public PracticalCase(IMachineModel machineModel)
      //{
      //      InitializeComponent();
      //}

        public PracticalCase(IMachineModel machineModel,  IRegionManager region)
        {
            this.DataContext = new PracticalCaseViewModel(machineModel, region);
            InitializeComponent();

            
        }
    }
}
